﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebAsp.DAL;
using WebAsp.DTO;

namespace WebAsp.Admin.News
{
    public partial class Edit : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
          
        }

        protected void btnSave_Click(object sender, EventArgs e)
        {
            NewsDTO item = Editor_Edit.getInformation;
            //Code Update ở đây
            NewsDAL.Update(item);
            Response.Redirect("/Admin/News");
        }
    }
}